#pragma once
#include "ldap_operation.h"

class Bind_Operation :
	public LDAP_Operation
{
	char *User_name;
	char *password;
	bool type_only;



	//atributele vor fi numele de utilizator
	//parola si drepturile asupra intrarilor
	//sau pot fi si separate ^^^
public:
	Bind_Operation(void);

	//fct buna de bind
	Bind_Operation(char *dn,vector<Atribut<char*>> atribute);

	Bind_Operation(const Bind_Operation& bind_op);

	Bind_Operation& operator=(const Bind_Operation& bind_op);

	~Bind_Operation(void);

	virtual LDAP_Operation* operate();

	void setUser(char *username);

	void setPassword(char *pass);

	
};

